package study08;

public class Test06 {
        public static void main(String[] args) {
            System.out.println("--重写前--");
            Phone phone = new Phone("打电话");
            phone.show();
            System.out.println("--重写后--");
            Newphone newphone  = new Newphone("打电话", "打开语音", "关闭语音");
            newphone.show();
        }
    }

